<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <script src="../js/axios.min.js" type="text/javascript"></script>
    <script src="../js/vue.js" type="text/javascript"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <title>测试</title>
</head>
<body>
<div id="app">
<template>
    <el-select v-model="value" placeholder="请选择">
        <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
                :disabled="item.disabled">
        </el-option>
    </el-select>
</template>
    <el-row>
        <el-button type="primary" @click="submit()">提交</el-button>
    </el-row>
</div>
<script>
    new Vue({
        el:"#app",
        data() {
            return {
                options: [{
                    value: '8:00-9:00',
                    label: '8:00-9:00'
                }, {
                    value: '9:00-10:00',
                    label: '9:00-10:00',
                    disabled: true
                }, {
                    value: '蚵仔煎',
                    label: '蚵仔煎'
                }, {
                    value: '龙须面',
                    label: '龙须面'
                }, {
                    value: '北京烤鸭',
                    label: '北京烤鸭'
                }],
                value: ''
            }
        },
        methods:{
            submit(){
                alert(this.value)
            }
        }
    })
</script>
</body>
</html>